package com.sfddata.musicpillow.user.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author jyo
 * @email 820389501@qq.com
 * @date 2022-04-22 14:36:04
 */
@Data
@TableName("baby_info")
public class BabyInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;
	/**
	 * 用户账号
	 */
	private String userAccount;
	/**
	 * baby名字
	 */
	private String babyName;
	/**
	 * 1表示男 0表示女
	 */
	private Integer babyGender;
	/**
	 * 生日
	 */
	@JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date babyBirth;

}
